<?php

namespace App\Http\Controllers;

use App\DesignPattern\Factory\PeopleFactory;
use App\DesignPattern\StrategyMode\People;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Redis;

class TestController extends Controller
{
    /**
     * FunctionName：index
     * Description：
     * Author：lwl
     * @return \Illuminate\Contracts\Pagination\Paginator
     */
    public function index()
    {

//        $class = \request()->input('class');
//        dd(People::getInstance()->run($class));
//        dd(PeopleFactory::getInstance()->getPeople($class));
//        dd(redis()::sMembers('myset'));
    }
}
